package JBD.Dico;
public class Mot{
	private String motFR;
	private String motEN;
	
	public Mot(String fr, String en){
		motFR=fr;
		motEN=en;
	}
	
	public String getmotFR(){
		return motFR;
	}
	
	public String getmotEN(){
		return motEN;
	}
	
	public boolean equals(Mot m2){
		if(motFR == m2.motFR & motEN == m2.motEN)
			return true;
		return false;
		
	}
	
	public String toStringFREN(){
		return "FR = " + motFR + ", EN = " + motEN;
	}
	
	public String toStringENFR(){
		return "EN = " + motEN + ", FR = " + motFR;
	}
	
	

	
}